package com.monkey.generator.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TMonkeyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    private String group;

    public TMonkeyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setGroupBy(String group) {
        this.group = group;
    }

    public String getGroupBy() {
        return group;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMonkeyidIsNull() {
            addCriterion("monkeyId is null");
            return (Criteria) this;
        }

        public Criteria andMonkeyidIsNotNull() {
            addCriterion("monkeyId is not null");
            return (Criteria) this;
        }

        public Criteria andMonkeyidEqualTo(Integer value) {
            addCriterion("monkeyId =", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidNotEqualTo(Integer value) {
            addCriterion("monkeyId <>", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidGreaterThan(Integer value) {
            addCriterion("monkeyId >", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidGreaterThanOrEqualTo(Integer value) {
            addCriterion("monkeyId >=", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidLessThan(Integer value) {
            addCriterion("monkeyId <", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidLessThanOrEqualTo(Integer value) {
            addCriterion("monkeyId <=", value, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidIn(List<Integer> values) {
            addCriterion("monkeyId in", values, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidNotIn(List<Integer> values) {
            addCriterion("monkeyId not in", values, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidBetween(Integer value1, Integer value2) {
            addCriterion("monkeyId between", value1, value2, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andMonkeyidNotBetween(Integer value1, Integer value2) {
            addCriterion("monkeyId not between", value1, value2, "monkeyid");
            return (Criteria) this;
        }

        public Criteria andDadidIsNull() {
            addCriterion("dadId is null");
            return (Criteria) this;
        }

        public Criteria andDadidIsNotNull() {
            addCriterion("dadId is not null");
            return (Criteria) this;
        }

        public Criteria andDadidEqualTo(Integer value) {
            addCriterion("dadId =", value, "dadid");
            return (Criteria) this;
        }

        public Criteria andDadidNotEqualTo(Integer value) {
            addCriterion("dadId <>", value, "dadid");
            return (Criteria) this;
        }

        public Criteria andDadidGreaterThan(Integer value) {
            addCriterion("dadId >", value, "dadid");
            return (Criteria) this;
        }

        public Criteria andDadidGreaterThanOrEqualTo(Integer value) {
            addCriterion("dadId >=", value, "dadid");
            return (Criteria) this;
        }

        public Criteria andDadidLessThan(Integer value) {
            addCriterion("dadId <", value, "dadid");
            return (Criteria) this;
        }

        public Criteria andDadidLessThanOrEqualTo(Integer value) {
            addCriterion("dadId <=", value, "dadid");
            return (Criteria) this;
        }

        public Criteria andDadidIn(List<Integer> values) {
            addCriterion("dadId in", values, "dadid");
            return (Criteria) this;
        }

        public Criteria andDadidNotIn(List<Integer> values) {
            addCriterion("dadId not in", values, "dadid");
            return (Criteria) this;
        }

        public Criteria andDadidBetween(Integer value1, Integer value2) {
            addCriterion("dadId between", value1, value2, "dadid");
            return (Criteria) this;
        }

        public Criteria andDadidNotBetween(Integer value1, Integer value2) {
            addCriterion("dadId not between", value1, value2, "dadid");
            return (Criteria) this;
        }

        public Criteria andMonidIsNull() {
            addCriterion("monId is null");
            return (Criteria) this;
        }

        public Criteria andMonidIsNotNull() {
            addCriterion("monId is not null");
            return (Criteria) this;
        }

        public Criteria andMonidEqualTo(Integer value) {
            addCriterion("monId =", value, "monid");
            return (Criteria) this;
        }

        public Criteria andMonidNotEqualTo(Integer value) {
            addCriterion("monId <>", value, "monid");
            return (Criteria) this;
        }

        public Criteria andMonidGreaterThan(Integer value) {
            addCriterion("monId >", value, "monid");
            return (Criteria) this;
        }

        public Criteria andMonidGreaterThanOrEqualTo(Integer value) {
            addCriterion("monId >=", value, "monid");
            return (Criteria) this;
        }

        public Criteria andMonidLessThan(Integer value) {
            addCriterion("monId <", value, "monid");
            return (Criteria) this;
        }

        public Criteria andMonidLessThanOrEqualTo(Integer value) {
            addCriterion("monId <=", value, "monid");
            return (Criteria) this;
        }

        public Criteria andMonidIn(List<Integer> values) {
            addCriterion("monId in", values, "monid");
            return (Criteria) this;
        }

        public Criteria andMonidNotIn(List<Integer> values) {
            addCriterion("monId not in", values, "monid");
            return (Criteria) this;
        }

        public Criteria andMonidBetween(Integer value1, Integer value2) {
            addCriterion("monId between", value1, value2, "monid");
            return (Criteria) this;
        }

        public Criteria andMonidNotBetween(Integer value1, Integer value2) {
            addCriterion("monId not between", value1, value2, "monid");
            return (Criteria) this;
        }

        public Criteria andGenerationIsNull() {
            addCriterion("generation is null");
            return (Criteria) this;
        }

        public Criteria andGenerationIsNotNull() {
            addCriterion("generation is not null");
            return (Criteria) this;
        }

        public Criteria andGenerationEqualTo(Integer value) {
            addCriterion("generation =", value, "generation");
            return (Criteria) this;
        }

        public Criteria andGenerationNotEqualTo(Integer value) {
            addCriterion("generation <>", value, "generation");
            return (Criteria) this;
        }

        public Criteria andGenerationGreaterThan(Integer value) {
            addCriterion("generation >", value, "generation");
            return (Criteria) this;
        }

        public Criteria andGenerationGreaterThanOrEqualTo(Integer value) {
            addCriterion("generation >=", value, "generation");
            return (Criteria) this;
        }

        public Criteria andGenerationLessThan(Integer value) {
            addCriterion("generation <", value, "generation");
            return (Criteria) this;
        }

        public Criteria andGenerationLessThanOrEqualTo(Integer value) {
            addCriterion("generation <=", value, "generation");
            return (Criteria) this;
        }

        public Criteria andGenerationIn(List<Integer> values) {
            addCriterion("generation in", values, "generation");
            return (Criteria) this;
        }

        public Criteria andGenerationNotIn(List<Integer> values) {
            addCriterion("generation not in", values, "generation");
            return (Criteria) this;
        }

        public Criteria andGenerationBetween(Integer value1, Integer value2) {
            addCriterion("generation between", value1, value2, "generation");
            return (Criteria) this;
        }

        public Criteria andGenerationNotBetween(Integer value1, Integer value2) {
            addCriterion("generation not between", value1, value2, "generation");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Integer value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Integer value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Integer value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Integer value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Integer value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Integer> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Integer> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Integer value1, Integer value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andGroworiginIsNull() {
            addCriterion("growOrigin is null");
            return (Criteria) this;
        }

        public Criteria andGroworiginIsNotNull() {
            addCriterion("growOrigin is not null");
            return (Criteria) this;
        }

        public Criteria andGroworiginEqualTo(Integer value) {
            addCriterion("growOrigin =", value, "groworigin");
            return (Criteria) this;
        }

        public Criteria andGroworiginNotEqualTo(Integer value) {
            addCriterion("growOrigin <>", value, "groworigin");
            return (Criteria) this;
        }

        public Criteria andGroworiginGreaterThan(Integer value) {
            addCriterion("growOrigin >", value, "groworigin");
            return (Criteria) this;
        }

        public Criteria andGroworiginGreaterThanOrEqualTo(Integer value) {
            addCriterion("growOrigin >=", value, "groworigin");
            return (Criteria) this;
        }

        public Criteria andGroworiginLessThan(Integer value) {
            addCriterion("growOrigin <", value, "groworigin");
            return (Criteria) this;
        }

        public Criteria andGroworiginLessThanOrEqualTo(Integer value) {
            addCriterion("growOrigin <=", value, "groworigin");
            return (Criteria) this;
        }

        public Criteria andGroworiginIn(List<Integer> values) {
            addCriterion("growOrigin in", values, "groworigin");
            return (Criteria) this;
        }

        public Criteria andGroworiginNotIn(List<Integer> values) {
            addCriterion("growOrigin not in", values, "groworigin");
            return (Criteria) this;
        }

        public Criteria andGroworiginBetween(Integer value1, Integer value2) {
            addCriterion("growOrigin between", value1, value2, "groworigin");
            return (Criteria) this;
        }

        public Criteria andGroworiginNotBetween(Integer value1, Integer value2) {
            addCriterion("growOrigin not between", value1, value2, "groworigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginIsNull() {
            addCriterion("reproductOrigin is null");
            return (Criteria) this;
        }

        public Criteria andReproductoriginIsNotNull() {
            addCriterion("reproductOrigin is not null");
            return (Criteria) this;
        }

        public Criteria andReproductoriginEqualTo(Integer value) {
            addCriterion("reproductOrigin =", value, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginNotEqualTo(Integer value) {
            addCriterion("reproductOrigin <>", value, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginGreaterThan(Integer value) {
            addCriterion("reproductOrigin >", value, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginGreaterThanOrEqualTo(Integer value) {
            addCriterion("reproductOrigin >=", value, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginLessThan(Integer value) {
            addCriterion("reproductOrigin <", value, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginLessThanOrEqualTo(Integer value) {
            addCriterion("reproductOrigin <=", value, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginIn(List<Integer> values) {
            addCriterion("reproductOrigin in", values, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginNotIn(List<Integer> values) {
            addCriterion("reproductOrigin not in", values, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginBetween(Integer value1, Integer value2) {
            addCriterion("reproductOrigin between", value1, value2, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andReproductoriginNotBetween(Integer value1, Integer value2) {
            addCriterion("reproductOrigin not between", value1, value2, "reproductorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginIsNull() {
            addCriterion("bonusOrigin is null");
            return (Criteria) this;
        }

        public Criteria andBonusoriginIsNotNull() {
            addCriterion("bonusOrigin is not null");
            return (Criteria) this;
        }

        public Criteria andBonusoriginEqualTo(Integer value) {
            addCriterion("bonusOrigin =", value, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginNotEqualTo(Integer value) {
            addCriterion("bonusOrigin <>", value, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginGreaterThan(Integer value) {
            addCriterion("bonusOrigin >", value, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginGreaterThanOrEqualTo(Integer value) {
            addCriterion("bonusOrigin >=", value, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginLessThan(Integer value) {
            addCriterion("bonusOrigin <", value, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginLessThanOrEqualTo(Integer value) {
            addCriterion("bonusOrigin <=", value, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginIn(List<Integer> values) {
            addCriterion("bonusOrigin in", values, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginNotIn(List<Integer> values) {
            addCriterion("bonusOrigin not in", values, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginBetween(Integer value1, Integer value2) {
            addCriterion("bonusOrigin between", value1, value2, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andBonusoriginNotBetween(Integer value1, Integer value2) {
            addCriterion("bonusOrigin not between", value1, value2, "bonusorigin");
            return (Criteria) this;
        }

        public Criteria andGrowIsNull() {
            addCriterion("grow is null");
            return (Criteria) this;
        }

        public Criteria andGrowIsNotNull() {
            addCriterion("grow is not null");
            return (Criteria) this;
        }

        public Criteria andGrowEqualTo(Integer value) {
            addCriterion("grow =", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowNotEqualTo(Integer value) {
            addCriterion("grow <>", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowGreaterThan(Integer value) {
            addCriterion("grow >", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowGreaterThanOrEqualTo(Integer value) {
            addCriterion("grow >=", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowLessThan(Integer value) {
            addCriterion("grow <", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowLessThanOrEqualTo(Integer value) {
            addCriterion("grow <=", value, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowIn(List<Integer> values) {
            addCriterion("grow in", values, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowNotIn(List<Integer> values) {
            addCriterion("grow not in", values, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowBetween(Integer value1, Integer value2) {
            addCriterion("grow between", value1, value2, "grow");
            return (Criteria) this;
        }

        public Criteria andGrowNotBetween(Integer value1, Integer value2) {
            addCriterion("grow not between", value1, value2, "grow");
            return (Criteria) this;
        }

        public Criteria andReproductIsNull() {
            addCriterion("reproduct is null");
            return (Criteria) this;
        }

        public Criteria andReproductIsNotNull() {
            addCriterion("reproduct is not null");
            return (Criteria) this;
        }

        public Criteria andReproductEqualTo(Integer value) {
            addCriterion("reproduct =", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductNotEqualTo(Integer value) {
            addCriterion("reproduct <>", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductGreaterThan(Integer value) {
            addCriterion("reproduct >", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductGreaterThanOrEqualTo(Integer value) {
            addCriterion("reproduct >=", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductLessThan(Integer value) {
            addCriterion("reproduct <", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductLessThanOrEqualTo(Integer value) {
            addCriterion("reproduct <=", value, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductIn(List<Integer> values) {
            addCriterion("reproduct in", values, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductNotIn(List<Integer> values) {
            addCriterion("reproduct not in", values, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductBetween(Integer value1, Integer value2) {
            addCriterion("reproduct between", value1, value2, "reproduct");
            return (Criteria) this;
        }

        public Criteria andReproductNotBetween(Integer value1, Integer value2) {
            addCriterion("reproduct not between", value1, value2, "reproduct");
            return (Criteria) this;
        }

        public Criteria andBonusIsNull() {
            addCriterion("bonus is null");
            return (Criteria) this;
        }

        public Criteria andBonusIsNotNull() {
            addCriterion("bonus is not null");
            return (Criteria) this;
        }

        public Criteria andBonusEqualTo(Integer value) {
            addCriterion("bonus =", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusNotEqualTo(Integer value) {
            addCriterion("bonus <>", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusGreaterThan(Integer value) {
            addCriterion("bonus >", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusGreaterThanOrEqualTo(Integer value) {
            addCriterion("bonus >=", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusLessThan(Integer value) {
            addCriterion("bonus <", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusLessThanOrEqualTo(Integer value) {
            addCriterion("bonus <=", value, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusIn(List<Integer> values) {
            addCriterion("bonus in", values, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusNotIn(List<Integer> values) {
            addCriterion("bonus not in", values, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusBetween(Integer value1, Integer value2) {
            addCriterion("bonus between", value1, value2, "bonus");
            return (Criteria) this;
        }

        public Criteria andBonusNotBetween(Integer value1, Integer value2) {
            addCriterion("bonus not between", value1, value2, "bonus");
            return (Criteria) this;
        }

        public Criteria andReproductcountIsNull() {
            addCriterion("reproductCount is null");
            return (Criteria) this;
        }

        public Criteria andReproductcountIsNotNull() {
            addCriterion("reproductCount is not null");
            return (Criteria) this;
        }

        public Criteria andReproductcountEqualTo(Integer value) {
            addCriterion("reproductCount =", value, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcountNotEqualTo(Integer value) {
            addCriterion("reproductCount <>", value, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcountGreaterThan(Integer value) {
            addCriterion("reproductCount >", value, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcountGreaterThanOrEqualTo(Integer value) {
            addCriterion("reproductCount >=", value, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcountLessThan(Integer value) {
            addCriterion("reproductCount <", value, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcountLessThanOrEqualTo(Integer value) {
            addCriterion("reproductCount <=", value, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcountIn(List<Integer> values) {
            addCriterion("reproductCount in", values, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcountNotIn(List<Integer> values) {
            addCriterion("reproductCount not in", values, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcountBetween(Integer value1, Integer value2) {
            addCriterion("reproductCount between", value1, value2, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcountNotBetween(Integer value1, Integer value2) {
            addCriterion("reproductCount not between", value1, value2, "reproductcount");
            return (Criteria) this;
        }

        public Criteria andReproductcdIsNull() {
            addCriterion("reproductCD is null");
            return (Criteria) this;
        }

        public Criteria andReproductcdIsNotNull() {
            addCriterion("reproductCD is not null");
            return (Criteria) this;
        }

        public Criteria andReproductcdEqualTo(Date value) {
            addCriterion("reproductCD =", value, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andReproductcdNotEqualTo(Date value) {
            addCriterion("reproductCD <>", value, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andReproductcdGreaterThan(Date value) {
            addCriterion("reproductCD >", value, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andReproductcdGreaterThanOrEqualTo(Date value) {
            addCriterion("reproductCD >=", value, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andReproductcdLessThan(Date value) {
            addCriterion("reproductCD <", value, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andReproductcdLessThanOrEqualTo(Date value) {
            addCriterion("reproductCD <=", value, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andReproductcdIn(List<Date> values) {
            addCriterion("reproductCD in", values, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andReproductcdNotIn(List<Date> values) {
            addCriterion("reproductCD not in", values, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andReproductcdBetween(Date value1, Date value2) {
            addCriterion("reproductCD between", value1, value2, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andReproductcdNotBetween(Date value1, Date value2) {
            addCriterion("reproductCD not between", value1, value2, "reproductcd");
            return (Criteria) this;
        }

        public Criteria andBonuscountIsNull() {
            addCriterion("bonusCount is null");
            return (Criteria) this;
        }

        public Criteria andBonuscountIsNotNull() {
            addCriterion("bonusCount is not null");
            return (Criteria) this;
        }

        public Criteria andBonuscountEqualTo(Integer value) {
            addCriterion("bonusCount =", value, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonuscountNotEqualTo(Integer value) {
            addCriterion("bonusCount <>", value, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonuscountGreaterThan(Integer value) {
            addCriterion("bonusCount >", value, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonuscountGreaterThanOrEqualTo(Integer value) {
            addCriterion("bonusCount >=", value, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonuscountLessThan(Integer value) {
            addCriterion("bonusCount <", value, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonuscountLessThanOrEqualTo(Integer value) {
            addCriterion("bonusCount <=", value, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonuscountIn(List<Integer> values) {
            addCriterion("bonusCount in", values, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonuscountNotIn(List<Integer> values) {
            addCriterion("bonusCount not in", values, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonuscountBetween(Integer value1, Integer value2) {
            addCriterion("bonusCount between", value1, value2, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonuscountNotBetween(Integer value1, Integer value2) {
            addCriterion("bonusCount not between", value1, value2, "bonuscount");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayIsNull() {
            addCriterion("bonusYesterday is null");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayIsNotNull() {
            addCriterion("bonusYesterday is not null");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayEqualTo(BigDecimal value) {
            addCriterion("bonusYesterday =", value, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayNotEqualTo(BigDecimal value) {
            addCriterion("bonusYesterday <>", value, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayGreaterThan(BigDecimal value) {
            addCriterion("bonusYesterday >", value, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bonusYesterday >=", value, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayLessThan(BigDecimal value) {
            addCriterion("bonusYesterday <", value, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bonusYesterday <=", value, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayIn(List<BigDecimal> values) {
            addCriterion("bonusYesterday in", values, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayNotIn(List<BigDecimal> values) {
            addCriterion("bonusYesterday not in", values, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bonusYesterday between", value1, value2, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonusyesterdayNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bonusYesterday not between", value1, value2, "bonusyesterday");
            return (Criteria) this;
        }

        public Criteria andBonustotalIsNull() {
            addCriterion("bonusTotal is null");
            return (Criteria) this;
        }

        public Criteria andBonustotalIsNotNull() {
            addCriterion("bonusTotal is not null");
            return (Criteria) this;
        }

        public Criteria andBonustotalEqualTo(BigDecimal value) {
            addCriterion("bonusTotal =", value, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andBonustotalNotEqualTo(BigDecimal value) {
            addCriterion("bonusTotal <>", value, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andBonustotalGreaterThan(BigDecimal value) {
            addCriterion("bonusTotal >", value, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andBonustotalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bonusTotal >=", value, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andBonustotalLessThan(BigDecimal value) {
            addCriterion("bonusTotal <", value, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andBonustotalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bonusTotal <=", value, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andBonustotalIn(List<BigDecimal> values) {
            addCriterion("bonusTotal in", values, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andBonustotalNotIn(List<BigDecimal> values) {
            addCriterion("bonusTotal not in", values, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andBonustotalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bonusTotal between", value1, value2, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andBonustotalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bonusTotal not between", value1, value2, "bonustotal");
            return (Criteria) this;
        }

        public Criteria andElementIsNull() {
            addCriterion("element is null");
            return (Criteria) this;
        }

        public Criteria andElementIsNotNull() {
            addCriterion("element is not null");
            return (Criteria) this;
        }

        public Criteria andElementEqualTo(Integer value) {
            addCriterion("element =", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotEqualTo(Integer value) {
            addCriterion("element <>", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementGreaterThan(Integer value) {
            addCriterion("element >", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementGreaterThanOrEqualTo(Integer value) {
            addCriterion("element >=", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementLessThan(Integer value) {
            addCriterion("element <", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementLessThanOrEqualTo(Integer value) {
            addCriterion("element <=", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementIn(List<Integer> values) {
            addCriterion("element in", values, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotIn(List<Integer> values) {
            addCriterion("element not in", values, "element");
            return (Criteria) this;
        }

        public Criteria andElementBetween(Integer value1, Integer value2) {
            addCriterion("element between", value1, value2, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotBetween(Integer value1, Integer value2) {
            addCriterion("element not between", value1, value2, "element");
            return (Criteria) this;
        }

        public Criteria andUuidIsNull() {
            addCriterion("uuid is null");
            return (Criteria) this;
        }

        public Criteria andUuidIsNotNull() {
            addCriterion("uuid is not null");
            return (Criteria) this;
        }

        public Criteria andUuidEqualTo(String value) {
            addCriterion("uuid =", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotEqualTo(String value) {
            addCriterion("uuid <>", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThan(String value) {
            addCriterion("uuid >", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidGreaterThanOrEqualTo(String value) {
            addCriterion("uuid >=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThan(String value) {
            addCriterion("uuid <", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLessThanOrEqualTo(String value) {
            addCriterion("uuid <=", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidLike(String value) {
            addCriterion("uuid like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotLike(String value) {
            addCriterion("uuid not like", value, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidIn(List<String> values) {
            addCriterion("uuid in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotIn(List<String> values) {
            addCriterion("uuid not in", values, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidBetween(String value1, String value2) {
            addCriterion("uuid between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andUuidNotBetween(String value1, String value2) {
            addCriterion("uuid not between", value1, value2, "uuid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}